Velocity models for a single well and for a set of wells

ABSTRACT

Systems and methods create velocity models for a single well or for a set of wells. In one implementation, a system optimizes a time-depth relationship applied to data points from a single well to estimate coefficients for a linear-velocity-in-time function that models the data points. The system optimizes by reducing the influence of outlier data points, for example, by weighting each data point to decrease the influence of those far from the velocity function. The system also reduces the influence of top and bottom horizons of geological layers by applying data driven techniques that estimate the velocity function in a way that reduces dependence on the boundary conditions. The systems and methods can also create velocity models based on data from a set of wells, applying a well weights method to reduce the influence of outlier wells and thereby prevent wells with aberrant data from degrading a correct velocity model.

RELATED APPLICATIONS

This continuation-in-part patent application claims the benefit of priority to U.S. patent application Ser. No. 12/684,242 to Bjerkholt entitled, “Velocity Model for Well Time-Depth Conversion,” filed Jan. 8, 2010, and incorporated herein by reference in its entirety, which in turn claims priority to U.S. Provisional Patent Application No. 61/149,884 to Bjerkholt, entitled, “Well Time-Depth Relationship Estimation,” filed Feb. 4, 2009, and incorporated herein by reference in its entirety; and claims benefit of priority to U.S. Provisional Patent Application No. 61/294,701 to Bjerkholt, entitled, “TDR Estimation for a Set of Wells,” filed Jan. 13, 2010, and incorporated herein by reference in its entirety.

BACKGROUND

Petroleum geology and oil exploration often apply reflection seismology to estimate underground features and thereby model the properties of a subsurface earth volume. A seismic source provides acoustic waves (i.e., “sound,” vibrations, or seismic waves). Subsurface features reflect the acoustic waves. A measurement of the time interval between transmission of the acoustic input and its arrival at a receiver enables estimation of the depth of the feature that reflected the sound or vibration.

When an acoustic wave impinges a boundary between two different subsurface materials that have different acoustic transparencies and acoustic impedances, some of the energy of the acoustic wave is transmitted or refracted through the boundary, while some of the energy is reflected off the boundary.

Depth conversion, as a part of the reflection seismology process and analysis, converts the acoustic wave travel time to actual depth, based at least in part on the acoustic velocity property of each subsurface medium (e.g., rock, sediment, hydrocarbon, water). This depth conversion makes possible a model. The model may have depth and thickness maps of subsurface layers interpreted from the seismic reflection data, and in turn the model enables volumetric evaluation of hydrocarbons, e.g., gas or oil, in their natural place.

In reflection seismology, the collected experimental data may be well data points, recorded seismograms, and so forth, and the desired result is the model of the physical structure and relevant properties of the subsurface earth volume. Models worked up from reflection seismology are usually very sensitive to small errors in the collected data or errors in the processing of the data. Such models that interpret experimental data collected from reflection seismology are often tentative and not very robust. Two specific sources of inaccuracy in modeling a subsurface volume from reflection seismology data are outlier values in the data and the influence of layer boundary conditions, i.e., uncertainty in the location of the tops and bases of horizons.

SUMMARY

Systems and methods create velocity models for a single well or for a set of wells. In one implementation, a system optimizes a time-depth relationship applied to data points from a single well to estimate coefficients for a linear-velocity-in-time function that models the data points. The system optimizes by reducing the influence of outlier data points, for example, by weighting each data point to decrease the influence of those far from the velocity function. The system also reduces the influence of top and bottom horizons of geological layers by applying data driven techniques that estimate the velocity function in a way that reduces dependence on the boundary conditions. The systems and methods can also create velocity models based on data from a set of wells, applying a well weights method to reduce the influence of outlier wells and thereby prevent wells with aberrant data from degrading a correct velocity model.

This summary section is not intended to give a full description of a velocity models for a single well and for a set of wells, or to provide a comprehensive list of features and elements. A detailed description with example implementations follows.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of example depth conversion that can be used in generating a structural model of a subsurface earth volume.

FIG. 2 is a block diagram of an example geological modeling system.

FIG. 3 is a block diagram of an example velocity modeler introduced in FIG. 2, in greater detail.

FIG. 4 is a diagram of a layer cake velocity model with horizons defined in the time domain.

FIG. 5 is a diagram of estimated analytic time-depth function plotted against input data.

FIG. 6 is a diagram of calculated error between time-depth samples and an estimated function.

FIG. 7 is a diagram of input data that includes outlier values.

FIG. 8 is a diagram of standard TDR estimation with sensitivity to small changes in boundary conditions.

FIG. 9 is a diagram of an example velocity model created using an example data weights technique applied to input data to reduce the influence of outlier values.

FIG. 10 is a diagram of example data driven TDR estimation that overcomes small changes in boundary conditions.

FIG. 11 is a diagram of an example velocity model created using an example optimize-for-estimation-of-K technique.

FIG. 12 is a diagram of an example velocity model created using an example estimate-and-adjust-to-base technique.

FIG. 13 is a diagram of an example velocity model created by simultaneously using an example data weights technique to reduce the influence of outlier data values, an example optimize for estimation of K technique to reduce the influence of boundary conditions, and an example estimate and adjust to base technique to reduce the influence of boundary conditions.

FIG. 14 is a flow diagram of an example method of reducing outlier values to improve creation of a velocity model for time-depth conversion in seismology.

FIG. 15 is a flow diagram of an example method of reducing the influence of boundary conditions on the modeling of a velocity function for well time-depth conversion.

FIG. 16 is a diagram showing well weights reducing the influence of well outliers.

FIG. 17 is a flow diagram of an example method of reducing the influence of outlier wells on a velocity model for a set of wells.

DETAILED DESCRIPTION

Overview

This disclosure describes systems and methods for making and using velocity models for a single well or for a set of wells. In one implementation, an example system improves the accuracy of data fitting and modeling by deemphasizing outlier data values and the influence of layer boundaries on the velocity model for time-depth conversion.

An example system receives data from a single well for creating the velocity model for time-depth conversion, applies a time-depth relationship (TDR) to the data for estimating an unknown coefficient in a linear-velocity-in-time function to fit the data, and optimizes the time-depth relationship to improve estimation of the coefficients. “Optimize,” as used herein, means variously “to improve,” “to make better,” or to “make best.” Related systems and methods for applying TDR estimation to data from a single well in order to estimate unknown coefficients in a linear-velocity-in depth function (as compared with the linear-velocity-in-time function are described in U.S. patent application Ser. No. 12/684,242 cited above, which is incorporated by reference herein.

In FIG. 1, time-depth conversion, (“depth conversion 100”), as a part of the reflection seismology process, receives collected seismic data 102 and converts acoustic wave travel times 104 via a velocity model 106 to estimated depths of features 108, based at least in part on the acoustic velocity property of each subsurface medium (rock layers, sediment layers, hydrocarbon fields, water, etc.). This depth conversion enables the creation of a structural model 110 that maps depth and thickness of subsurface layers interpreted from the seismic reflection data, and enables volumetric evaluation of hydrocarbons as they exist below the surface.

This description utilizes the linear-velocity-in-time function v=v₀+kt, where v₀ is the instantaneous velocity at a data point and k is the rate of increase of velocity (compaction factor) per depth thereafter. The example system to be described below uses the time-depth relationship (TDR) in a single well to estimate unknown coefficients in the linear-velocity-in-time function. Then, innovative techniques also described herein make maximum use of well data, while providing mathematical robustness and tolerance of real-world levels of noise in the data.

The example system achieves mathematical robustness and tolerance of noise in the data by minimizing the influence of outlier values in the data and also by reducing the influence of layer boundary conditions (top and base horizons) on velocity modeling. In one implementation, the system uses data weights to reduce the influence of outlier values. In another implementation, the system also applies data driven methods to reduce the influence of the boundary conditions, i.e., of the top and base horizons. To reduce the influence of boundary conditions, the system may apply an optimize-for-estimation-of-k technique, and/or an estimate-and-adjust-to-base method.

The following is a list of symbols used in the description below.

-   -   t=One-way travel time measured from datum.     -   t_(c)=One-way travel time boundary value measured from datum.     -   t_(T)=One-way travel time at the top of the layer measured from         datum.     -   t_(B)=One-way travel time at the bottom of the layer measured         from datum.     -   t_(M)=One-way travel time of the well marker measured from         datum.     -   t=The average one-way travel time measured from datum.     -   z=Depth measured from datum.     -   z_(c)=Depth boundary value measured from datum.     -   z_(T)=Depth at the top of the layer measured from datum.     -   z_(M)=Depth of the well marker measured from datum.     -   {circumflex over (Z)}=Fitted depth value measured from datum.     -   v=Instantaneous velocity.     -   v₀=Instantaneous velocity at the datum.     -   k=Rate of increase of velocity (Compaction factor).     -   S=The summed square of residuals.     -   E=Measure of the quality of the fit.     -   m=Number of data points.     -   ω=Final weight.     -   ω^(user)=User defined weight.     -   ω^(robust)=Robust weight.     -   r=Residual.     -   r^(adj)=Adjusted residual.     -   u=Standardized adjusted residual.     -   h=Leverage that adjust the residual by down-weighting         high-leverage data points.     -   s=Robust variance.     -   K=Tuning constant.

Example Modeling Environment

FIG. 2 shows an example geological modeling system 200 that uses an innovative velocity modeler 202 to create a structural model 110 of a subsurface earth volume 204. A computing device 206 implements components, such as a geological modeler 208 and the velocity modeler 202, to model or otherwise analogize the subsurface earth volume 204. The subsurface earth volume 204 may include, for example, a petroleum reservoir, depositional basin, or other features. The geological modeler 208 and velocity modeler 202 are illustrated as software, but can be implemented as hardware or as a combination of hardware, and software instructions.

In the illustrated example, the computing device 206 is communicatively coupled via sensory and control devices with a real-world subsurface earth volume 204, i.e., an actual earth volume, petroleum reservoir, depositional basin, oilfield, wells, surface control network, etc., and may also be in communication with one or more human agents, such as a geologist, monitor, field manager 210, etc. Although the computing device 206 is shown specifically in communication with a petroleum resource, the computing device 206 may be in communication with any subsurface earth volume 204, since the subsurface earth volume 204 being modeled may only be a candidate for petroleum production or other use.

The computing device 206 may be a computing network, computer, or other device that has a processor 212, memory 214, data storage 216, and other associated hardware such as an optional auxiliary processor 218, network interface 220 and a media drive 222 for reading and writing to a removable storage medium 224. The removable storage medium 224 can be, for example, a compact disk (CD); digital versatile disk/digital video disk (DVD); flash drive, etc., The geological modeler 208 includes the velocity modeler 202 and a resulting velocity model 106.

The removable storage medium 224 may include instructions for implementing and executing the geological modeler 208, including the velocity modeler 202. At least some parts of the velocity modeler 202 can be stored as instructions on a given instance of the removable storage medium 213, removable device, or in local data storage 216, to be loaded into memory 214 for execution by the processor(s) 212, 218.

Although the illustrated geological modeler 208 is depicted as a program residing in memory 214, the geological modeler 208 and velocity modeler 202 may also be implemented as specific hardware, such as an application specific integrated circuit (ASIC) or as a combination of hardware and software.

In this example system 200, the computing device 206 receives field data, such as seismic data and well logs 226 from a connected device 228 in communication with, and collecting data from, geophones or other sensors for a potential petroleum field or other subsurface earth volume 204, through the network interface 220. The geological modeler 208 creates a structural model 110 of the subsurface earth volume 204. A user interface controller 230 displays the structural model 110, typically on a display 232.

Based on action of the geological modeler 208 and the velocity modeler 202, the computing device 206 can generate control signals 234 to be used via control devices 236 in real world prospecting, modeling, exploration, prediction, and/or control of resources, such as petroleum production, including direct control via hardware control devices 236 of such machinery and hardware as injection and production wells, reservoirs, fields, transport and delivery systems, and so forth.

Example Engine

FIG. 3 shows the example velocity modeler 202 of FIG. 2, in greater detail. The illustrated implementation is only one example configuration, to introduce features and components of an engine that performs innovative velocity modeling. Many other arrangements of the components of a velocity modeler 202 are possible within the scope of the subject matter. As introduced above, the velocity modeler 202 can be implemented in hardware, or in combinations of hardware and software. Illustrated components are communicatively coupled with each other for communication and data exchange as needed.

Providing a list of example components, the illustrated velocity modeler 202 includes a data fitting engine 302 that generates a velocity model 304 based on collected data 306 that is input to the velocity modeler 202. An application engine 308, in turn, may use the velocity model 304 to create a structural model 110 of the subsurface earth volume 204 based on the collected data 306. A given velocity model 304 may be retained to process subsequently collected data 306 into a structural model 110. The velocity model 304 may include an analytic velocity function 310 that optimizes time-depth conversion for subsequently collected data 306 from the subsurface earth volume 204 at hand.

The collected data 306 may consist of seismic information, seismograms, well markers, and so forth. A time-and-depth converter 312 may perform an initial TDR conditioning of raw data to provide time-and-depth samples 314. The collected data 306 may also provide well marker data 316 as input for the data fitting engine 302.

The data fitting engine 302 includes components to find optimized velocity functions to fit the data points represented in the collected data 306. That is, the data fitting engine 302 finds better coefficients for the linear-velocity-in-time function than conventional techniques.

A geological layers data manager 318 in the data fitting engine 302 may list enumerated geological layers 320 of the subsurface earth volume 204 being modeled, and may also include a boundary layer tracker 322 that marks and dynamically adjusts the location of top and bottom horizons of each enumerated layer.

A time-depth relationship (TDR) optimization engine 324 in the data fitting engine 302 includes a coefficients estimator 326, an outlier value reducer 328, and a boundary influence reducer 330. The coefficients estimator includes a “minimize error in depth” engine 332 and a summed-squares-of-residuals minimizer 334. The outlier value reducer 328 includes a data weights engine 336 to decrease or nullify the effect of outlier data values that introduce an unacceptable amount of error into the velocity model 304. The boundary influence reducer 330 includes a data driven engine 338 that reduces the disproportionately large effect of small error in the measured or calculated locations of the boundaries of each subsurface layer. The data driven engine 338 includes an “optimize estimation of k” engine 340 and an “estimate and adjust to base” engine 342.

Example Operation of the Example System and Engine

Conventional analytic velocity functions are conceptually easy to understand. Many geophysicists adopt analytic velocity functions as a preferred method of depth conversion above all other techniques.

In one implementation of a layer cake velocity model, such as velocity model 304, the model is divided into separate geological layers, each of which usually has a different, but internally consistent velocity function. FIG. 4 shows a layer cake velocity model with horizons defined in the time domain. A separate velocity function is used in each layer, and the depth at the base of the layer can be calculated by the velocity function given at the top of the layer. Each velocity function contains some coefficients. Referring to both FIGS. 3 and 4, these coefficients are estimated so that the analytic velocity function follows the trend in the set of time-and-depth samples 314. In one implementation, the time-and-depth converter 312 applies the time-depth relationship (TDR) to collected data 306 from a well, providing input for generating the velocity model 304 from various measures of time-and-depth. The TDR optimization engine 324 also applies a TDR estimation algorithm to estimate the unknown coefficients of the velocity function for each layer. The output of the overall process is a velocity model 304 that the velocity modeler 202 (or the geological modeler 208) can use to convert from time to depth, or vice versa.

Each layer in a velocity model 304 is dependent on the layer above, so that inaccurate velocity modeling in one layer usually results in even greater inaccuracy in the layers below. Even when the analytic velocity functions 310 exactly fit the time versus depth data 314 for some specific wells, this fit does not necessarily mean that the velocity model 304 is robust. An improved velocity model 304 should also predict locations far from any wells in a correct manner.

There are ways to select the best velocity function. A simple way to check the correctness of a velocity function is to calculate the depth the velocity function predicts for a well marker 316. However, many different functions can calculate the correct depth. In one implementation, to find the best velocity function for robustness the best function is one that gives the best time-depth relationship in a given layer, and also follows the correct trend in velocity for that layer. FIG. 5 shows an estimated analytic time-depth function plotted against the input data.

To estimate the coefficients for the linear-velocity-in-time function, many different methods to find the best combination of coefficients have been tried by various researchers. Some methods minimize error in velocity and others minimize error in the depth. These methods usually assume that the response errors follow a normal distribution, and that extreme values are rare. Still, extreme values called outliers do occur.

The coefficients estimator 326 in FIG. 3 uses a minimum-error-in-depth engine 332. However, an implementation that minimizes error of velocity can also be used with very little change to the layout shown in FIG. 3. FIG. 6 shows calculated error between the time-depth samples 314 and the estimated function. The coefficients estimator 326 aims to find the coefficients that provide the minimum error between time-depth samples 314 and the velocity function modeling the time-depth samples 314.

TDR Estimation for One Well

In one implementation, the velocity modeler 202 uses the time-depth relationship (TDR) in a single well to estimate the unknown coefficients in a single analytic velocity function. The analytic linear velocity in time function is shown in Equation (1): v=v ₀ +kt  (1) where v₀ is the instantaneous velocity at a data point and k is the rate of increase of velocity (compaction factor). As described in Appendix A, the depth z can be expressed as a function of time t, as in Equation (2):

$\begin{matrix} {z = {z_{c} + {v_{0}\left( {t - t_{c}} \right)} + {\frac{1}{2}{k\left( {t^{2} - t_{c}^{2}} \right)}}}} & (2) \end{matrix}$ where t_(c) and z_(c) are the time-and-depth boundary values. It is common to set the boundary values equal to the time-and-depth at the top of the layer (t_(c)=t_(T) and z_(c)=z_(T)).

In one implementation, the coefficients estimator 326 applies a standard method of estimating the best combination of coefficients via the summed-squares-of-residuals-minimizer 334. In one implementation, the summed square of residuals is given by Equation (3):

$\begin{matrix} {S = {\sum\limits_{j = 1}^{m}r_{j}^{2}}} & (3) \end{matrix}$ where r is the residual and m is the number of data points. A measure of the quality of the fit is desirable and can be obtained from standard deviation as given in Equation (4):

$\begin{matrix} {E = \sqrt{\frac{S}{m}}} & (4) \end{matrix}$

The minimum-error-in-depth engine 332 minimizes the error in depth. The depth residual is then given by Equation (5) r=z−{circumflex over (z)}  (5) where z is the observed depth value and {circumflex over (z)} is the fitted depth value.

In one scenario, there is well marker data 316 and input time-and-depth data points 314. By inserting functions from Equation (5) and Equation (2) into Equation (3), the summed-squares-of-residuals-minimizer 334 calculates a summed squares residuals, which can be written as in Equation (6):

$\begin{matrix} {{S = {\sum\limits_{j = 1}^{m}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}\beta_{j}}} \right)^{2}}}{{\beta_{j} = {z_{j} - z_{c}}},{\alpha_{j} = {t_{j} - t_{c}}},{\gamma_{j} = {t_{j} + t_{c}}}}} & (6) \end{matrix}$ where t_(j) and z_(j) are the input time-and-depth data 314. To find the combination of v₀ and k that gives the minimum error in depth, the minimum-error-in-depth engine 332 finds the minimum of the function in Equation (6). In this process, v₀ is found by using the function in Equation (2) with the known time at the base of the interval t=t_(B) and the depth given by the well marker z=z_(M). This provides the following expression for v₀, given in Equation (7):

$\begin{matrix} {{v_{0} = {\frac{\beta_{M}}{\alpha_{B}} - {\frac{1}{2}k\;\gamma_{B}}}}{{\beta_{M} = {z_{M} - z_{c}}},{\alpha_{B} = {t_{B} - t_{c}}},{\gamma_{B} = {t_{B} + t_{c}}}}} & (7) \end{matrix}$

An expression for k is obtained by setting the partial derivative of S with respect to k equal to zero, as in Equation (8):

$\begin{matrix} {\frac{\partial S}{\partial k} = 0} & (8) \\ {\frac{\partial S}{\partial k} = {\sum\limits_{j = 1}^{m}\left( {{v_{0}\alpha_{j}^{2}\gamma_{j}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}^{2}} - {\beta_{j}\alpha_{j}\gamma_{j}}} \right)}} & (9) \end{matrix}$

By using the functions of Equations (7), (8), and (9) a matrix system with two unknowns is obtained, as in Equation (10):

$\begin{matrix} {{\begin{bmatrix} 1 & {\frac{1}{2}\gamma_{B}} \\ {\sum\limits_{j = 1}^{m}\left( {\alpha_{j}^{2}\gamma_{j}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\alpha_{j}^{2}\gamma_{j}^{2}} \right)}} \end{bmatrix}\begin{bmatrix} v_{0} \\ k \end{bmatrix}} = \begin{bmatrix} \frac{\beta_{M}}{\alpha_{B}} \\ {\sum\limits_{j = 1}^{m}\left( {\beta_{j}\alpha_{j}\gamma_{j}} \right)} \end{bmatrix}} & (10) \end{matrix}$ The v₀ and the k are found by solving this matrix system.

By inserting Equation (5) and Equation (2) into Equation (3), the summed-squares-of-residuals minimizer 334 operates according to Equation (11):

$\begin{matrix} {{S = {\sum\limits_{j = 1}^{m}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}} - \beta_{j}} \right)^{2}}}{{\beta_{j} = {z_{j} - z_{c}}},{\alpha_{j} = {t_{j} - t_{c}}},{\gamma_{j} = {t_{j} + t_{c}}}}} & (11) \end{matrix}$ where t_(j) and z_(j) are the input time-and-depth data 314. The minimum-error-in-depth engine 332 aims to find the combination of v₀ and k that gives the minimum error in depth by determining the minimum of the function in Equation (11). Thus, the partial derivative of S with respect to v₀ and k is set equal to zero, as in Equation (12):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k} = 0}} & (12) \\ {\frac{\partial S}{\partial v_{0}} = {2{\sum\limits_{j = 1}^{m}\left( {{v_{0}\alpha_{j}^{2}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}} - {\beta_{j}\alpha_{j}}} \right)}}} & (13) \\ {\frac{\partial S}{\partial k} = {\sum\limits_{j = 1}^{m}\left( {{v_{0}a_{j}^{2}\gamma_{j}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}^{2}} - {\beta_{j}\alpha_{j}\gamma_{j}}} \right)}} & (14) \end{matrix}$

The functions of Equations (12), (13), and (14) are combined to obtain a matrix system with two unknowns, as in Equation (15):

$\begin{matrix} {{\begin{bmatrix} {\sum\limits_{j = 1}^{m}\left( \alpha_{j}^{2} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\alpha_{j}^{2}\gamma_{j}} \right)}} \\ {\sum\limits_{j = 1}^{m}\left( {\alpha_{j}^{2}\gamma_{j}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\alpha_{j}^{2}\gamma_{j}^{2}} \right)}} \end{bmatrix}\begin{bmatrix} v_{0} \\ k \end{bmatrix}} = \begin{bmatrix} {\sum\limits_{j = 1}^{m}\left( {\beta_{j}\alpha_{j}} \right)} \\ {\sum\limits_{j = 1}^{m}\left( {\beta_{j}\alpha_{j}\gamma_{j}} \right)} \end{bmatrix}} & (15) \end{matrix}$ The v₀ and the k are found by solving this matrix system.

Outlier Value Reduction

The operation of the coefficients estimator 326 performing standard methods as described thus far is very sensitive to outlier values in the input time-and-depth samples 314. Outliers have a disproportionately large influence on the data fit because squaring the residuals magnifies the effect of these extreme data points. FIG. 7 shows input data that contains outliers and the large influence that the outlier values have on the fitting of the function to the data points 314.

The coefficients estimator 326, as described to this point, is also very sensitive to small changes in boundary conditions (the top and base horizons). If boundary conditions are not in synchronization with the input data points 314 in one zone or layer, this can often lead to dramatic problems in the zones or layers below. FIG. 8 shows a standard TDR estimation in which the function fit is sensitive to small changes in the boundary conditions. In FIG. 8, the top horizon has been moved down a small increment, throwing the function off the data points 314.

The TDR optimization engine 324, however, generates a velocity model 304 that makes maximum use of well data, yet is still mathematically robust and tolerant of the levels of noise that realistically occur in the collected data 306. To do this the TDR optimization engine 324 includes the outlier value reducer 328 and the boundary influence reducer 330.

In one implementation, the outlier value reducer 328 includes a data weights engine 336, which performs a robust weighted-least-square operation as shown in Equation (16):

$\begin{matrix} {S = {\sum\limits_{j = 1}^{m}{\omega_{j}r_{j}^{2}}}} & (16) \end{matrix}$ where m is the number of data points 314, and the ω_(j) are weights. The weights determine how much each data point 314 influences the final parameter estimates. In one implementation, the data weights engine 336 uses a bi-square weights method that minimizes a weighted sum of squares, in which the weight given to each data point 314 depends on how far the point is from the fitted function. Points occurring near the analytic function get full weight. Points farther from the analytic function get reduced weight. Points that are father from analytic function than would be expected by random chance get zero weight. Robust fitting with bi-square weights may use an iteratively re-weighted least squares algorithm, and may follow the procedure described below in Appendix B.

When the outlier value reducer 328 works in conjunction with the coefficients estimator 326, then the minimum-error-in-depth-engine 332 uses a depth residual given by Equation (17): r=z−{circumflex over (z)}  (17) where z is the observed depth value and {circumflex over (z)} is the fitted depth value.

When there are well marker 316 and input data points 314, then by inserting Equation (17) and Equation (2) into Equation (16), the summed squares of residuals is represented by Equation (18):

$\begin{matrix} {{S = {\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}} - \beta_{j}} \right)}^{2}}}{{\beta_{j} = {z_{j} - z_{c}}},{\alpha_{j} = {t_{j} - t_{c}}},{\gamma_{j} = {t_{j} + t_{c}}}}} & (18) \end{matrix}$ where t_(j) and z_(j) are the input time-and-depth data 314. The minimum of the function in Equation (18) provides the combination of v₀ and k that gives the minimum error in depth. In this implementation, v₀, is obtained by using Equation (2) with the known time at the base of the interval t=t_(B) and the depth given by the well marker z=z_(M). This provides the following expression for v₀ given in Equation (19):

$\begin{matrix} {{v_{0} = {\frac{\beta_{M}}{\alpha_{M}} - {\frac{1}{2}k\;\gamma_{M}}}}{{\beta_{M} = {z_{M} - z_{c}}},{\alpha_{M} = {t_{M} - t_{c}}},{\gamma_{M} = {t_{M} + t_{c}}}}} & (19) \end{matrix}$

An expression for k is obtained by setting the partial derivative of S with respect to k equal to zero, as in Equation (20).

$\begin{matrix} {\frac{\partial S}{\partial k} = 0} & (20) \\ {\frac{\partial S}{\partial k} = {\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}^{2}\gamma_{j}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}^{2}} - {\beta_{j}\alpha_{j}\gamma_{j}}} \right)}}} & (21) \end{matrix}$

By combining the functions of Equations (19), (20), and (21) a matrix system with two unknowns is obtained, as in Equation (22).

$\begin{matrix} {{\begin{bmatrix} 1 & {\frac{1}{2}\gamma_{M}} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}^{2}} \right)}} \end{bmatrix}\begin{bmatrix} v_{0} \\ k \end{bmatrix}} = \begin{bmatrix} \frac{\beta_{M}}{\alpha_{M}} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\beta_{j}\alpha_{j}\gamma_{j}} \right)} \end{bmatrix}} & (22) \end{matrix}$ The v₀ and the k are found by solving this matrix system.

When there are only input data points 314 and no well marker data 316, then by inserting Equation (17) and Equation (2) into Equation (16), the summed squares of residuals can be written as in Equation (23):

$\begin{matrix} {{S = {\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}} - \beta_{j}} \right)}^{2}}},{\beta_{j} = {z_{j} - z_{c}}},{\alpha_{j} = {t_{j} - t_{c}}},{\gamma_{j} = {t_{j} + t_{c}}}} & (23) \end{matrix}$ where t_(j) and z_(j) are the input time-and-depth data 314. The minimum of the function in Equation (23) provides the combination of v₀ and k that gives the minimum error in depth. This can be accomplished by setting the partial derivative of S with respect to v₀ and k equal to zero, as in Equation (24).

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k} = 0}} & (24) \\ {\frac{\partial S}{\partial v_{0}} = {2{\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}^{2}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}} - {\beta_{j}\alpha_{j}}} \right)}}}} & (25) \\ {\frac{\partial S}{\partial k} = {\sum\limits_{j = 1}^{m}~{\omega_{j}\left( {{v_{0}\alpha_{j}^{2}\gamma_{j}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}^{2}} - {\beta_{j}\alpha_{j}\gamma_{j}}} \right)}}} & (26) \end{matrix}$

Combining the functions of Equations (24), (25), and (26) provides a matrix system with two unknowns, as in Equation (27):

$\begin{matrix} {{\begin{bmatrix} {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}} \right)}} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}^{2}} \right)}} \end{bmatrix}\begin{bmatrix} v_{0} \\ k \end{bmatrix}} = \begin{bmatrix} {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\beta_{j}\alpha_{j}} \right)} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\beta_{j}\alpha_{j}\gamma_{j}} \right)} \end{bmatrix}} & (27) \end{matrix}$ The v₀ and the k are found by solving this matrix system.

FIG. 9 shows a comparison between the standard method of TDR estimation versus weighted methods applied by the data weights engine 336. The introduction of the data weights reduces the influence of outliers and provides the data fitting engine 302 with accuracy in fitting a function to the data while being much more tolerant of noise in the input collected data 306 being input.

Boundary Influence Reduction

The boundary influence reducer 330 makes the previously described components and techniques less sensitive to small changes in boundary conditions (i.e., of the tops and bases of horizons). In FIG. 9, the fitted function does not follow the trend at the top of the input data points 314 at all. This is because the top horizon is fixed and the function needs to start at the top of a horizon even if the input data points 314 indicate to start somewhere else. The boundary influence reducer 330 applies data driven techniques to reduce the influence of the horizons for the coefficients estimator 326, when it is determining the unknown coefficients.

The boundary influence reducer 330 is used in conjunction with the coefficients estimator 326. The minimum-error-in-depth-engine 332 then uses a depth residual given by Equation (28): r=z−{circumflex over (z)}  (28) where z is the observed depth value and {circumflex over (z)} is the fitted depth value.

When there are only input data points 314 and no well marker data 316, then by inserting Equation (28) and Equation (2) into Equation (16), the summed squares of residuals is given by Equation (29):

$\begin{matrix} {{S = {\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}} - \beta_{j}} \right)}^{2}}}{{\beta_{j} = {z_{j} - z_{c}}},{\alpha_{j} = {t_{j} - t_{c}}},{\gamma_{j} = {t_{j} + t_{c}}}}} & (29) \end{matrix}$ where t_(j) and z_(j) are the input time-and-depth data 314. In Equation (29), the boundary conditions are given by t_(c) and z_(c). Since the boundary influence reducer 330 aims to reduce the influence of these boundary conditions, the boundary conditions are first considered unknowns (although a top horizon and a corresponding base horizon are dependent on each other). So, instead of merely finding the combination of v₀, and k that provides the minimum error in depth, the coefficients estimator 326 now aims to find the combination of v₀, k and z, that provides the minimum error in depth. The summed-squares-of-residuals-minimizer 334 sets the partial derivative of S with respect to v₀ and k equal to zero, as in Equation (30): By using functions (30), (31), (32) and (33) we get a matrix system with tree unknowns.

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k} = {\frac{\partial S}{\partial z_{c}} = 0}}} & (30) \\ {\frac{\partial S}{\partial v_{0}} = {2{\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}^{2}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}} - {\beta_{j}\alpha_{j}}} \right)}}}} & (31) \\ {\frac{\partial S}{\partial k} = {\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}^{2}\gamma_{j}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}^{2}} - {\beta_{j}\alpha_{j}\gamma_{j}}} \right)}}} & (32) \\ {\frac{\partial S}{\partial z_{c}} = {{- 2}{\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}} - \beta_{j}} \right)}}}} & (33) \end{matrix}$ By using functions (30), (31), (32) and (33) a matrix system with three unknowns is obtained, shown in Equation (34):

$\begin{matrix} {{\begin{bmatrix} {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}} \right)}} & {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}} \right)} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}^{2}} \right)}} & {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}\gamma_{j}} \right)} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}} \right)} & {\frac{1}{2}{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}\gamma_{j}} \right)}} & {\sum\limits_{j = 1}^{m}\left( \omega_{j} \right)} \end{bmatrix}\left\lbrack \begin{matrix} v_{0} \\ k \\ z_{c} \end{matrix} \right\rbrack} = {\quad\begin{bmatrix} {\sum\limits_{j = 1}^{m}\left( {\omega_{j}z_{j}\alpha_{j}} \right)} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}z_{j}\alpha_{j}\gamma_{j}} \right)} \\ {\sum\limits_{j = 1}^{m}\left( {\omega_{j}z_{j}} \right)} \end{bmatrix}}} & (34) \end{matrix}$

The v₀, the k, and the z_(c) are found by solving this matrix system.

In this manner, the relationship provides estimates of v₀, and k that are not dependent on the boundary conditions. The data driven engine 338, when used this way, also provides the minimum error in depth, and follows the trend in velocity. In this implementation, the estimation performed by the coefficients estimator 326 is completely data driven. FIG. 10 shows that data driven TDR estimation is not sensitive to small changes in the boundary conditions. The top horizon has been moved down a small increment, yet the function is well-fitted to the data points 314. But the estimated v₀ and k provide a function that does not go through the boundary conditions, as shown in FIG. 10.

Optimizing Estimation of K

In the implementation just described, the data driven engine 338 estimates a v₀ and a k that are not dependent of the boundary conditions. This is very desirable, but the estimated function also needs to go through a time-depth point at the top horizon. The optimize-estimation-of-K engine 340 maintains the desirable features provided by the above-described data driven engine 338, while enabling the function to go through a known time-depth point 314 that occurs on the top horizon.

In such an implementation, when the boundary influence reducer 330 is used in conjunction with the coefficients estimator 326, the minimum-error-in-depth-engine 332 minimizes the error in depth and still follows the trend in velocity. To begin describing this implementation, a depth residual is given by Equation (40): r=z−{circumflex over (z)}  (35) where z is the observed depth value and {circumflex over (z)} is the fitted depth value.

When there is well marker data 316 and input data points 314, then by combining Equation (35) and Equation (2) into Equation (16), the summed squares of residuals is given by Equation (36):

$\begin{matrix} {{S = {\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}} - \beta_{j}} \right)}^{2}}}{{\beta_{j} = {z_{j} - z_{c}}},{\alpha_{j} = {t_{j} - t_{c}}},{\gamma_{j} = {t_{j} + t_{c}}}}} & (36) \end{matrix}$ where t_(j) and z_(j) are the input time-and-depth data 314. Minimizing Equation (36) provides the combination of v₀ and k that minimizes error in depth. The optimize-estimation-of-K engine 340 finds v₀ by using Equation (2) with the known time at the base of the interval t=t_(B) and the depth given by the well marker z=z_(M) yielding the expression for v₀ given in Equation (37):

$\begin{matrix} {{v_{0} = {\frac{\beta_{M}}{\alpha_{B}} - {\frac{1}{2}k\;\gamma_{B}}}}{{\beta_{M} = {z_{M} - z_{c}}},{\alpha_{B} = {t_{B} - t_{c}}},{\gamma_{B} = {t_{B} + t_{c}}}}} & (37) \end{matrix}$

When there are only input data points 314 and no well marker data 316, then the optimize-estimation-of-K engine 340:

-   -   1. Estimates k using the data driven method with t_(c)=t_(T).     -   2. Calculates v₀ by using Equation (41), below.

By combining Equation (35) and Equation (2) into Equation (16), the summed squares of residuals is given by Equation (38):

$\begin{matrix} {{S = {\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}} + {\frac{1}{2}k\;\alpha_{j}\gamma_{j}} - \beta_{j}} \right)}^{2}}}{{\beta_{j} = {z_{j} - z_{c}}},{\alpha_{j} = {t_{j} - t_{c}}},{\gamma_{j} = {t_{j} + t_{c}}}}} & (38) \end{matrix}$ where t_(j) and z_(j) are the input time-and-depth data 314. Minimizing Equation (38) obtains a combination of v₀ and k that minimizes the error in depth. As above, the partial derivative of S with respect to v₀ is set equal to zero, as in Equation (39):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = 0} & (39) \\ {\frac{\partial S}{\partial v_{0}} = {2{\sum\limits_{j = 1}^{m}{\omega_{j}\left( {{v_{0}\alpha_{j}^{2}} + {\frac{1}{2}k\;\alpha_{j}^{2}\gamma_{j}} - {\beta_{j}\alpha_{j}}} \right)}}}} & (40) \end{matrix}$ An expression for v₀ is obtained by inserting Equation (40) in to Equation (39):

$\begin{matrix} {v_{0} = \frac{{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\beta_{j}\alpha_{j}} \right)} - {\frac{1}{2}k{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}\gamma_{j}} \right)}}}{\sum\limits_{j = 1}^{m}\left( {\omega_{j}\alpha_{j}^{2}} \right)}} & (41) \end{matrix}$

When there are input data points 314 and well marker data 316, the optimize-estimation-of-K engine 340:

-   -   1. Estimates k using the data driven method with t_(c)=t_(T).     -   2. Calculates v₀ by using Equation (37) with t_(c)=t_(T) and         z_(c)=z_(T).

FIG. 11 shows a comparison between the standard method versus methods applied by the optimize-for-estimation-of-k engine 340. The estimation of k provides v₀ and k values that give the minimum error in depth and still follow the trend in velocity. There is also a reduced domino effect of error propagation between layers. FIG. 8 also shows that the optimize-for-estimation-of-k engine 340 gives v₀ and k values that are much closer to an ideal solution than the standard method. It is worth noting that it is not possible to find the ideal solution because the technique itself has moved the top horizon down a small increment. But the optimize-for-estimation-of-k engine 340 does provide solutions very close to the ideal solution.

Estimating and Adjusting to Base

The estimate-and-adjust-to-base engine 342:

-   -   1. Estimates v₀ and k within the processes of the data driven         engine 338, with t_(c)=t_(T).     -   2. Calculates z_(B) by using Equation (34) with t_(c)=t_(T).     -   3. Uses the standard method or works in conjunction with the         optimize-for-estimation-of-k engine 340, with z_(M)=z_(B).

The standard method often gives an unsatisfactory data fit at the base of the zone or layer when there is no well marker data 316. The estimate-and-adjust-to-base engine 342 uses the trend in the input data points 314 to estimate where the base of the zone should be, measured in depth. The estimate-and-adjust-to-base engine 342 also ensures that the function goes through that point. As shown in FIG. 12, the estimate-and-adjust-to-base engine 342 provides a more reliable base in depth.

Harmonized TDR Optimization Engine

In one implementation, the TDR optimization engine 324 uses multiple components simultaneously to improve accuracy and robustness both in depth conversion and in creation of the velocity model 304. A harmonized TDR optimization engine 324 may use the data weights engine 336 for reducing the effects of outlier values; and at the same time use the optimize-estimation-of-k engine 340 and estimate-and-adjust-to-base engine 342 for reducing boundary influences. This implementation with at least the three innovative components actively improving the manner in which collected data 306 is used provides an improved result (i.e., improved depth conversion, improved velocity model 304 and structural model 110). This is especially true, for example, when there are input data points 314 that include outlier values, and a top horizon that does not match the input data 314 (e.g., a scenario shown in FIG. 8). FIG. 13 shows an improved result over the standard method, especially when there are rough input data with outlier values, and a top horizon that does not match the input data 314.

Example Methods

FIG. 14 shows an example method of reducing outlier values to improve creation of a velocity model for time-depth conversion in seismology. In the flow diagram, the operations are summarized in individual blocks. The example method 1400 may be performed by hardware or combinations of hardware and software, for example, by the example velocity modeler 202.

At block 1402, data from a well is received to create a velocity model for time-depth conversion.

At block 1404, a time-depth relationship (TDR) is applied to the data to estimate a coefficient for a velocity function to fit the data.

At block 1406, an error of depth is minimized in applying the time-depth relationship by minimizing summed squares of depth residuals.

At block 1408, the influence of outlier data points is reduced by weighting each data point according to a distance of the data point from the velocity function being estimated.

FIG. 15 shows an example method of reducing the influence of boundary conditions on a velocity function for well time-depth conversion. In the flow diagram, the operations are summarized in individual blocks. The example method 1500 may be performed by hardware or combinations of hardware and software, for example, by the example velocity modeler 202.

At block 1502, data from a well is received for creating a velocity model for time-depth conversion.

At block 1504, a time-depth relationship is applied to the data to estimate a coefficient in a velocity function to be fit to the data.

At block 1506, an error of depth in applying the time-depth relationship is minimized by minimizing in turn the summed squares of depth residuals.

At block 1508, an influence of boundary conditions on the velocity function is reduced by applying a data driven method to select velocity function parameters that are not dependent on the boundary conditions.

One or both of blocks 1510 and 1512 may be utilized.

At block 1510, estimation of a coefficient for rate of increase of velocity is optimized to enable the velocity function to go through a data point on each top horizon.

At block 1512, a depth of a base horizon is estimated from trends in the data, and the velocity function is adjusted to go through a data point on each base horizon.

Time-Depth Relationship (TDR) Estimation for a Set of Wells

In the next division of this disclosure, velocity models based on data from a set of wells, instead of just a single well, are described. The objective is to create a velocity model that makes maximum use of well data, yet is still mathematically robust and tolerant of realistic levels of noise in the data. To accomplish this, the influence of well outliers is reduced through example methods and components described below.

The various examples to be described below present new methods for estimating the unknown coefficients in a set of analytic velocity functions and new methods that minimize the influence of outliers wells when the time-depth relationship (TDR) is applied to data from a set of wells.

Specifically, a description of new well weights method is included. The new methods can be implemented, for example, by the exemplary velocity modeler 202 of FIG. 2. New methods of reducing the effect of well outliers on the estimation of the coefficients of analytic velocity functions, using the new well weights method, can be implemented across several types of analytic velocity functions. For example, the new methods can be implemented using an interval velocity function and a linear-velocity-in-depth function. Coefficient estimation for these analytic velocity functions can be accomplished by either the minimum depth method or the minimum velocity method. To implement the new methods, the example outlier value reducer 328 of FIG. 3 can include a data weights engine 336 that handles well weights, i.e., weighted data from across multiple wells, instead of just data points obtained from a single well.

Since the new well-weighted outlier reduction techniques can utilize either an interval velocity function or a linear-velocity-in-depth function (or even a linear-velocity-in-time function), and further utilize either the minimum depth method or the minimum velocity method, various examples of combinations of these techniques will now be listed and described, including mathematical derivation of working equations to implement each example as a method (a practical process) or as a system component.

Coefficient Estimation for the Interval Velocity Function

Examples to be described include:

The minimum depth method (v₀: Correction−Constant)

The minimum depth method (v₀: Well TDR−Constant)

The minimum velocity method (v₀: Correction−Constant)

The minimum velocity method (v₀: Well TDR−Constant)

Coefficient Estimation for the Linear Velocity in Depth Function

Examples to be described include:

Min depth method (v₀: Correction−Constant, k: Well TDR−Constant)

Min depth method (v₀: Well TDR−Constant, k: Well TDR−Constant)

Min depth method (v₀: Correction−Constant, k: Well TDR−Surface)

Min depth method (v₀: Well TDR−Constant, k: Well TDR−Surface)

Min depth method (v₀: Correction−Surface, k: Well TDR−Constant)

Min depth method (v₀: Well TDR−Surface, k: Well TDR−Constant)

Min depth method (v₀: Given by user, k: Well TDR−Constant)

Min depth method (v₀: Correction−Constant, k: Given by user)

Min depth method (v₀: Well TDR−Constant, k: Given by user)

Min velocity method (v₀: Correction−Constant, k: Well TDR−Constant)

Min velocity method (v₀: Well TDR−Constant, k: Well TDR−Constant)

Min velocity method (v₀: Correction−Constant, k: Well TDR−Surface)

Min velocity method (v₀: Well TDR−Constant, k: Well TDR−Surface)

Min velocity method (v₀: Correction−Surface, k: Well TDR−Constant)

Min velocity method (v₀: Well TDR−Surface, k: Well TDR−Constant)

Min velocity method (v₀: Given by user, k: Well TDR−Constant)

Min velocity method (v₀: Correction−Constant, k: Given by user)

Min velocity method (v₀: Well TDR−Constant, k: Given by user)

Background, for Derivations

To estimate the best combination coefficients in a set of functions, minimizing the summed squares of residuals can still be used. The summed square of residuals is given by Equation (42):

$\begin{matrix} {S = {\sum\limits_{i = 1}^{n}r_{i}^{2}}} & (42) \end{matrix}$ where r is the residual for one well and n is the number of wells. A measure of the quality of the fit is desirable and can be obtained from standard deviation, in Equation (43):

$\begin{matrix} {E = \sqrt{\frac{S}{n}}} & (43) \end{matrix}$

Disadvantages

The standard methods have the disadvantage that they are sensible to well outliers. Well outliers have a large influence on the fit because squaring the residuals magnifies the effect of these extreme data points from the multiple wells.

The Well Weights Method

To minimize the influence of outliers a robust weighted least square method is used, as in Equation (44):

$\begin{matrix} {S = {\sum\limits_{i = 1}^{n}{\mu_{i}r_{i}^{2}}}} & (44) \end{matrix}$ where n is the number of wells, and the μ_(j) are weights. The weights determine how much each well influences the final parameter estimates. A bi-square weights method is employed that minimizes a weighted sum of squares, where the weight given to each well depends on how far the well data is from the fitted function. Wells with data near the analytic function receive full weight. Points farther from the analytic function are assigned reduced weight. Wells with data that are father from analytic function than would be expected by random chance receive zero weight. The robust fitting with bi-square weights uses an iteratively re-weighted least squares algorithm, and follows the procedure described in Appendix B.

The function in Equation (44) can be rewritten, as in Equation (45), to:

$\begin{matrix} {S = {{\sum\limits_{i = 1}^{n}{\mu_{i}r_{i}^{2}}} = {{\sum\limits_{i = 1}^{n}{\mu_{i}E_{i}^{2}}} = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}S_{i}}}}}} & (45) \end{matrix}$ where S_(i) is the summed squares of residuals for one well, and m_(i) is the number of data points in that well. FIG. 16 shows well weights reducing the influence of well outliers.

Interval Velocity Function

The simplest classical analytic instantaneous velocity function is the interval velocity, as in Equation (46): v=v ₀  (46) where v₀ is the instantaneous velocity at the datum. As described in Appendix C, it can be shown that the depth z can be expressed as a function of time t, as shown in Equation (47): z=z _(c) +v ₀(t−t _(c))  (47) where t_(c) and z_(c) are the time and depth boundary values. It is common to set the boundary values equal to the time and depth at the top of the layer, i.e., (t_(c)=t_(T) and z_(c)=z_(T)).

1. Example Minimum Depth Method (v₀: Correction−Constant)

This method minimizes the error in depth. The depth residual is then given by Equation (48): r=z+{circumflex over (z)}  (48) where z is the observed depth value and {circumflex over (z)} is the fitted depth value. By inserting functions (47) and (48) into function (45) it can be shown that the summed squares of residuals can be written as Equation (49):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {\delta_{i} - {v_{0}\varphi_{i}}} \right)}^{2}}},{\delta_{i} = {z_{M_{i}} - z_{c_{i}}}},\mspace{14mu}{\varphi_{i} = {{t_{B}}_{i} - t_{c_{i}}}}} & (49) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M). To find the v₀ that gives the minimum error in depth, the minimum of function (49) is obtained. This can be achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (50):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = 0} & (50) \\ {\frac{\partial S}{\partial v_{0}} = {{2v_{0}{\sum\limits_{i = 1}^{n}{\mu_{i}\varphi_{i}^{2}}}} - {2{\sum\limits_{i = 1}^{n}{\mu_{i}\delta_{i}\varphi_{i}}}}}} & (51) \end{matrix}$

An expression for v₀ is obtained by inserting function (51) into function (50) to obtain Equation (52):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\mu_{i}\delta_{i}\varphi_{i}}}{\sum\limits_{i = 1}^{n}{\mu_{i}\varphi_{i}^{2}}}} & (52) \end{matrix}$ The resulting v₀ provides the minimum error in depth.

2. Example Minimum Depth Method (v₀: Well TDR−Constant)

This method minimizes the error in depth. By inserting functions (47) and (48) into function (45) the summed squares of residuals can be written as in Equation (53):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {\beta_{j} - {v_{0}\alpha_{i,j}}} \right)}^{2}}}}},{\beta_{i,j} = {z_{i,j} - z_{c_{i,j}}}},\mspace{14mu}{\alpha_{i,j} = {t_{i,j} - t_{c_{i,j}}}}} & (53) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the v₀ that gives the minimum error in depth, the minimum of function (53) is obtained. This can be achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (54):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = 0} & (54) \\ {\frac{\partial S}{\partial v_{0}} = {{2v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\alpha_{i,j}^{2}}}}}} - {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}\alpha_{i,j}}}}}}}} & (55) \end{matrix}$ An expression for v₀, can be obtained by inserting function (55) into function (54), to obtain Equation (56):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}\alpha_{i,j}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\alpha_{i,j}^{2}}}}}} & (56) \end{matrix}$ The resulting v₀ provides the minimum error in depth.

3. Example Minimum Velocity Method (v₀: Correction−Constant)

This method minimizes the error in velocity. The velocity residual is then given by Equation (57): r=v{circumflex over (v)}  (57) where v is the observed velocity value and {circumflex over (v)} is the fitted velocity value. By inserting functions (47) and (57) into function (45) the summed squares of residuals can be written as in Equation (58):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {v_{0} - \frac{\delta_{i}}{\varphi_{i}}} \right)}^{2}}},\mspace{14mu}{\delta_{i} = {z_{M_{i}} - z_{c_{i}}}},\mspace{14mu}{\varphi_{i} = {t_{B_{i}} - t_{c_{i}}}}} & (58) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M). To find the v₀ that gives the minimum error in velocity, the minimum of function (58) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (59):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = 0} & (59) \\ {\frac{\partial S}{\partial v_{0}} = {{2v_{0}{\sum\limits_{i = 1}^{n}\mu_{i}}} - {2{\sum\limits_{i = 1}^{n}{\mu_{i}\frac{\delta_{i}}{\varphi_{i}}}}}}} & (60) \end{matrix}$ An expression for v₀ is obtained by inserting function (60) into function (59) to obtain Equation (61):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\mu_{i}\frac{\delta_{i}}{\varphi_{i}}}}{\sum\limits_{i = 1}^{n}\mu_{i}}} & (61) \end{matrix}$ The resulting v₀ provides the minimum error in velocity.

4. Example Minimum Velocity Method (v₀: Well TDR−Constant)

This method minimizes the error in velocity. The velocity residual is then given in Equation (62):

$\begin{matrix} {r = {{v - \hat{v}} = {v_{0} - \frac{\hat{z} - {\hat{z}}_{c}}{\hat{t} - {\hat{t}}_{c}}}}} & (62) \end{matrix}$ where v is the observed velocity value and {circumflex over (v)} is the fitted velocity value. By inserting functions (47) and (62) into function (45) the summed squares of residuals can be written as in Equation (63):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0} - \frac{\beta_{i,j}}{\alpha_{i,j}}} \right)}^{2}}}}},\mspace{11mu}\;{\beta_{i,j} = {z_{i,j} - z_{c_{i,j}}}},\mspace{14mu}{\alpha_{i,j} = {t_{i,j} - t_{c_{i,j}}}}} & (63) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the v₀ that gives the minimum error in velocity, the minimum of function (63) is obtained. This can be achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (64):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = 0} & (64) \\ {\frac{\partial S}{\partial v_{0}} = {{2v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} - {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\beta_{i,j}}{\alpha_{i,j}}}}}}}}} & (65) \end{matrix}$

An expression for v₀ is obtained by inserting function (65) into function (64) to obtain Equation (66):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\beta_{i,j}}{\alpha_{i,j}}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} & (66) \end{matrix}$ The resulting v₀ provides the minimum error in velocity.

Linear Velocity Function

The best known classical analytic instantaneous velocity function is the linear velocity (in depth) function of Equation (67): v=v ₀ +kz  (67) where v₀ is the instantaneous velocity at the datum and k is the rate of increase of velocity (i.e., the Compaction Factor). Appendix D describes that the depth z can be expressed as a function of time t as in Equation (68):

$\begin{matrix} {z = {{\frac{v_{0}}{k}\left( {{\mathbb{e}}^{k{({t - t_{c}})}} - 1} \right)} + {z_{c}{\mathbb{e}}^{k{({t - t_{c}})}}}}} & (68) \end{matrix}$ where t_(c) and z_(c) are the time and depth boundary values. It is common to set the boundary values equal to the time and depth at the top of the layer (t_(c)=t_(T) and z_(c)=z_(T)).

5. Example Minimum Depth Method (v₀: Correction−Constant, k: Well TDR−Constant)

In this method v₀, is found by using function (68) with the known time at the base of the interval t=t_(B) and the depth given by the correction object z=z_(M). This provides the following expression for v₀ in Equation (69):

$\begin{matrix} {{v_{0} = {k\frac{z_{M} - {z_{c}\varphi}}{\delta}}},\mspace{14mu}{\delta = {\varphi - 1}},\mspace{14mu}{\varphi = {\mathbb{e}}^{k{({t_{B} - t_{c}})}}}} & (69) \end{matrix}$ This method minimizes the error in depth. By inserting functions (68) and (69) into function (45) the summed squares of residuals can be written as in Equation (70):

$\begin{matrix} {{S_{v_{0}} = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {{\frac{v_{0}}{k}\delta_{i}} - \left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)} \right)}^{2}}},{\delta_{i} = {\varphi_{i} - 1}},\mspace{14mu}{\varphi_{i} = {\mathbb{e}}^{k{({t_{B_{i}} - t_{c_{i}}})}}}} & (70) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M).

$\begin{matrix} {{S_{k} = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (71) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k that gives the minimum error in depth, the minimum of functions (70) and (71) is obtained. This is accomplished by setting the partial derivative of S_(v) ₀ with respect to v₀ equal to zero and the partial derivative of S_(k) with respect to k equal to zero.

$\begin{matrix} {\mspace{95mu}{\frac{\partial S_{v_{0}}}{\partial v_{0}} = {\frac{\partial s_{k}}{\partial k} = 0}}} & (72) \\ {\mspace{95mu}{\frac{\partial S_{v_{0}}}{\partial v_{0}} = {{\frac{2v_{0}}{k^{2}}{\sum\limits_{i = 1}^{n}{\mu_{i}\varphi_{i}^{2}}}} - {\frac{2}{k}{\sum\limits_{i = 1}^{n}{{\mu_{i}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)}\delta_{i}}}}}}} & (73) \\ {\frac{\partial S_{k}}{\partial k} = {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {{\frac{v_{0}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}\left( {{\frac{v_{0}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)}}}}}} & (74) \end{matrix}$

An expression for v₀ may be obtained by inserting function (73) into function (72), as in Equation (75):

$\begin{matrix} {v_{0} = {k\frac{\sum\limits_{i = 1}^{n}{{\mu_{i}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)}\delta_{i}}}{\sum\limits_{i = 1}^{n}{\mu_{i}\varphi_{i}^{2}}}}} & (75) \end{matrix}$ By using functions (72), (74) and (75) a relation that just is dependent on k is obtained, in Equation (76):

$\begin{matrix} \left\{ \begin{matrix} \begin{matrix} {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}}}} \\ {\left( {{\frac{v_{0}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right) = 0} \end{matrix} \\ {v_{0} = {k\frac{\sum\limits_{i = 1}^{n}{{\mu_{i}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)}\delta_{i}}}{\sum\limits_{i = 1}^{n}{\mu_{i}\varphi_{i}^{2}}}}} \end{matrix} \right. & (76) \end{matrix}$ The transcendental nature of this relation prevents the isolation of k. But a numerical method can be used to find the root of this relation.

6. Example Minimum Depth Method (v₀: Well TDR−Constant, k: Well TDR−Constant)

This method minimizes the error in depth. By inserting functions (68) and (48) into function (45) the summed squares of residuals can be written as in Equation (77):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (77) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k that gives the minimum error in depth, the minimum of function (77) is obtained. This can be achieved by setting the partial derivative of S with respect to v₀ and k equal to zero, as in Equation (78):

$\begin{matrix} {\mspace{85mu}{\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k} = 0}}} & (78) \\ {\frac{\partial S}{\partial v_{0}} = {\frac{2}{k}\left( {{\frac{v_{0}}{k}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}} - {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}} \right)}} & (79) \\ {\frac{\partial S}{\partial k} = {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {{\frac{v_{0}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}\left( {{\frac{v_{0}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)}}}}}} & (80) \end{matrix}$ An expression for v₀, may be obtained by inserting function (79) into function (78), to obtain Equation (81):

$\begin{matrix} {v_{0} = {k\frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}{\sum\limits_{i = 1}^{n}{\frac{u_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}}} & (81) \end{matrix}$ By using functions (78), (80) and (81) a relation that just is dependent on k is obtained, in Equation (82):

$\begin{matrix} \left\{ \begin{matrix} \begin{matrix} {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}}}} \\ {\left( {{\frac{v_{0}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right) = 0} \end{matrix} \\ {v_{0} = {k\frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}}} \end{matrix} \right. & (82) \end{matrix}$ The transcendental nature of this relation prevents the isolation of k. A numerical method may be used to find the root of this relation.

7. Example Minimum Depth Method (v₀: Correction−Constant, k: Well TDR−Surface)

This method minimizes the error in depth. By inserting functions (68) and (69) into function (45) the summed squares of residuals can be written as in Equation (83):

$\begin{matrix} {{S_{v_{0}} = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {{\frac{v_{0}}{k_{i}}\delta_{i}} - \left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)} \right)}^{2}}},\;{\delta_{i} = {\varphi_{i} - 1}},\mspace{14mu}{\varphi_{i} = {\mathbb{e}}^{k_{i}{({t_{B_{i}} - t_{c_{i}}})}}}} & (83) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M).

$\begin{matrix} {{S_{k} = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k_{i}}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k_{i}{({t_{i,j} - t_{c_{i}}})}}}} & (84) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k₁, k₂, . . . , k_(n) that gives the minimum error in depth, the minimum of function (83) and (84) is obtained. This is achieved by setting the partial derivative of S_(v) ₀ with respect to v₀, equal to zero and by setting the partial derivative of S_(k) with respect to k₁, k₂, . . . , k_(n) equal to zero, as in Equation (85):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k_{1}} = {\frac{\partial S}{\partial k_{2}} = {\ldots = {\frac{\partial S}{\partial k_{n}} = 0}}}}}} & (85) \\ {\mspace{79mu}{\frac{\partial S_{v_{0}}}{\partial v_{0}} = {{\frac{2v_{0}}{k^{2}}{\sum\limits_{i = 1}^{n}{\mu_{i}\varphi_{i}^{2}}}} - {\frac{2}{k}{\sum\limits_{i = 1}^{n}{{\mu_{i}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)}\delta_{i}}}}}}} & (86) \\ {\frac{\partial S_{k}}{\partial k_{i}} = {2\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {{\frac{v_{0}}{k_{i}}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}\left( {{\frac{v_{0}}{k_{i}^{2}}\left( {{\alpha_{i,j}\left( {{k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)}}}} & (87) \end{matrix}$ An expression for v₀, is obtained by inserting function (86) into function (85), to obtain Equation (88):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)\delta_{i}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}^{2}}\varphi_{i}^{2}}}} & (88) \end{matrix}$ By using functions (85), (87) and (88) a relation that just is dependent on k₁, k₂, . . . , k_(n) is obtained, in Equation (89):

$\begin{matrix} \left\{ \begin{matrix} \begin{matrix} {\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k_{i}}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}}} \\ {\left( {{\frac{v_{0}}{k_{i}^{2}}\left( {{\alpha_{i,j}\left( {{k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right) = 0} \end{matrix} \\ {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)\delta_{i}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}^{2}}\varphi_{i}^{2}}}} \end{matrix} \right. & (89) \end{matrix}$ The transcendental nature of this relation prevents the isolation of k₁, k₂, . . . , k_(n). A numerical method may be applied to find the roots of this relation.

8. Example Minimum Depth Method (v₀: Well TDR−Constant, k: Well TDR−Surface)

This method minimizes the error in depth. By inserting functions (68) and (48) into function (45) the summed squares of residuals can be written as in Equation (90):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k_{i}}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k_{i}{({t_{i,j} - t_{c_{i}}})}}}} & (90) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k₁, k₂, . . . , k_(n) that gives the minimum error in depth, the minimum of function (90) is obtained. This may be achieved by setting the partial derivative of S with respect to v₀ and k₁, k₂, . . . , k_(n) equal to zero, as in Equation (91):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k_{1}} = {\frac{\partial S}{\partial k_{2}} = {\ldots = {\frac{\partial S}{\partial k_{n}} = 0}}}}}} & (91) \\ {\frac{\partial S}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}^{2}m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}} - {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}} \right)}} & (92) \\ \begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial k_{i}} = {2\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k_{i}}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}}}}} \\ {\left( {{\frac{v_{0}}{k_{i}^{2}}\left( {{\alpha_{i,j}\left( {{k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)} \end{matrix} & (93) \end{matrix}$ An expression for v₀ is obtained by inserting function (92) into function (91), to obtain Equation (94):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}^{2}m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}} & (94) \end{matrix}$ By using functions (91), (93) and (94) a relation that just is dependent on k₁, k₂, . . . , k_(n) is obtained, as in Equation (95):

$\begin{matrix} \left\{ \begin{matrix} \begin{matrix} {\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k_{i}}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}} \\ {\left( {{\frac{v_{0}}{k_{i}^{2}}\left( {{\alpha_{i,j}\left( {{k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right) = 0} \end{matrix} \\ {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}^{2}m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}} \end{matrix} \right. & (95) \end{matrix}$ The transcendental nature of this relation prevents the isolation of k₁, k₂, . . . , k_(n). A numerical method may be used to find the roots of this relation.

9. The Minimum Depth Method (v₀: Correction−Surface, k: Well TDR−Constant)

This method minimizes the error in depth. By inserting functions (68) and (48) into function (45) the summed squares of residuals can be written as in Equation (96):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (96) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) and k that gives the minimum error in depth, the minimum of function (96) is obtained. This can be achieved by setting the partial derivative of S with respect to k equal to zero, as in Equation (97):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial k} = 0}} & (97) \\ {\frac{\partial S}{\partial k} = {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}\left( {{\frac{v_{0_{i}}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)}}}}}} & (98) \end{matrix}$ In this method, v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) is found by using function (68) with the known time at the base of the interval t=t_(B) and the depth given by the correction object z=z_(M). This provides the following expression for v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) , in Equation (99):

$\begin{matrix} {{v_{0_{i}} = {k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}},\mspace{14mu}{\delta_{i} = {\varphi_{i} - 1}},\mspace{14mu}{\varphi_{i} = {\mathbb{e}}^{k_{i}{({t_{B_{i}} - t_{c_{i}}})}}}} & (99) \end{matrix}$ By using functions (97), (98) and (99) a relation that just is dependent on k is obtained, in Equation (100):

$\begin{matrix} {\quad\left\{ \begin{matrix} \begin{matrix} {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}}}} \\ {\left( {{\frac{v_{0_{i}}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right) = 0} \end{matrix} \\ {v_{0_{i}} = {k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}} \end{matrix} \right.} & (100) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k. A numerical method can be applied to find the root of this relation.

10. Example Minimum Depth Method (v₀: Well TDR−Surface, k: Well TDR−Constant)

This method minimizes the error in depth. By inserting functions (68) and (48) into function (45) the summed squares of residuals can be written as in Equation (101):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (101) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) and k that gives the minimum error in depth, the minimum of function (101) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) and k equal to zero, as in Equation (102):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial v_{0_{1}}} = {\frac{\partial S}{\partial v_{0_{2}}} = {\ldots = {\frac{\partial S}{\partial v_{0_{n}}} = {\frac{\partial S}{\partial k} = 0}}}}}} & (102) \\ {\mspace{79mu}{\frac{\partial S}{\partial v_{0_{i}}} = {\frac{2\mu_{i}}{k\; m_{i}}\left( {{\frac{v_{0_{i}}}{k}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}} - {\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}} \right)}}} & (103) \\ {\frac{\partial S}{\partial k} = {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}\left( {{\frac{v_{0_{i}}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)}}}}}} & (104) \end{matrix}$ An expression for v₀ ₁ , v₀ ₂ , v₀ _(n) , is obtained by inserting function (103) into function (102), as in Equation (105):

$\begin{matrix} {v_{0_{i}} = {k\frac{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}} & (105) \end{matrix}$ By using functions (102), (104) and (105) a relation that just is dependent on k is obtained, as in Equation (106):

$\quad\begin{matrix} \left\{ \begin{matrix} \begin{matrix} {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}}}} \\ {\left( {{\frac{v_{0_{i}}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right) = 0} \end{matrix} \\ {v_{0_{i}} = {k\frac{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}} \end{matrix} \right. & (106) \end{matrix}$ The transcendental nature of this relation prevents the isolation of k. A numerical method may be applied to find the root of this relation.

11. Example Minimum Depth Method (v₀: Given by User, k: Well TDR−Constant)

This method minimizes the error in depth. By inserting functions (68) and (48) into function (45) the summed squares of residuals can be written as in Equation (107):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (107) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the k that gives the minimum error in depth, the minimum of function (107) is obtained. This is achieved by setting the partial derivative of S with respect to k equal to zero, as in Equation (108):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial k} = 0}} & (108) \\ {\frac{\partial S}{\partial k} = {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}\left( {{\frac{v_{0_{i}}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)}}}}}} & (109) \end{matrix}$

By using functions (108) and (109) a relation that just is dependent on k is obtained, as in Equation (110):

$\begin{matrix} {{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {{\frac{v_{0_{i}}}{k}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}\left( {{\frac{v_{0_{i}}}{k^{2}}\left( {{\alpha_{i,j}\left( {{k\left( {t_{i,j} - t_{c_{i}}} \right)} - 1} \right)} + 1} \right)} + {{z_{c_{i}}\left( {t_{i,j} - t_{c_{i}}} \right)}\alpha_{i,j}}} \right)}}}} = 0} & (110) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k. A numerical method can be applied to find the root of this relation.

12. Example Minimum Depth Method (v₀: Correction−Constant, k: Given by User)

This method minimizes the error in depth. By inserting functions (68) and (69) into function (45) the summed squares of residuals can be written as in Equation (111):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {{\frac{v_{0}}{k_{i}}\delta_{i}} - \left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)} \right)}^{2}}},{\delta_{i} = {\varphi_{i} - 1}},\mspace{14mu}{\varphi_{i} = {\mathbb{e}}^{k_{i}{({t_{B_{i}} - t_{c_{i}}})}}}} & (111) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M). To find the v₀ that gives the minimum error in depth, the minimum of function (111) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (112):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = 0} & (112) \\ {\frac{\partial S}{\partial v_{0}} = {{2v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}^{2}}\varphi_{i}^{2}}}} - {2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)\delta_{i}}}}}} & (113) \end{matrix}$

An expression for v₀ is obtained by inserting function (113) into function (112), as in Equation (114):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}}\left( {z_{M_{i}} - {z_{c_{i}}\varphi_{i}}} \right)\delta_{i}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{k_{i}^{2}}\varphi_{i}^{2}}}} & (114) \end{matrix}$ The resulting v₀ provides the minimum error in depth.

13. Example Minimum Depth Method (v₀: Well TDR−Constant, k: Given by User)

This method minimizes the error in depth. By inserting functions (68) and (48) into function (45) the summed squares of residuals can be written as in Equation (115):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {{\frac{v_{0}}{k_{i}}\beta_{i,j}} - \left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (115) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the v₀, that gives the minimum error in depth, the minimum of function (115) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (116):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial v_{0}} = 0}} & (116) \\ {\frac{\partial S}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}k_{i}^{2}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}} - {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}k_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}} \right)}} & (117) \end{matrix}$

An expression for v₀, is obtained by inserting function (117) into function (116), as in Equation (118):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}k_{i}}{\sum\limits_{j = 1}^{m_{i}}{{\omega_{i,j}\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}\beta_{i,j}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}k_{i}^{2}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\beta_{i,j}^{2}}}}}} & (118) \end{matrix}$

14. Example Minimum Velocity Method (v₀: Correction−Constant, k: Well TDR−Constant)

This method minimizes the error in velocity. By inserting functions (68) and (69) into function (45) the summed squares of residuals can be written as in Equation (119):

$\begin{matrix} {{S_{v_{0}} = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {v_{0} - {k\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}} \right)}^{2}}},\mspace{14mu}{\delta_{i} = {\varphi_{i} - 1}},\mspace{14mu}{\varphi_{i} = {\mathbb{e}}^{k{({t_{B_{i}} - t_{c_{i}}})}}}} & (119) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M).

$\begin{matrix} {{S_{k} = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0} - {k\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {{\mathbb{e}}^{k}\left( {t_{i,j} - t_{c_{i}}} \right)}}} & (120) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k that gives the minimum error in velocity, the minimum of function (119) and (120) is obtained. This is achieved by setting the partial derivative of S_(v) ₀ with respect to v₀ equal to zero and by setting the partial derivative of S_(k) with respect to k equal to zero, as in Equation (121):

$\begin{matrix} {\mspace{85mu}{\frac{\partial S_{v_{0}}}{\partial v_{0}} = {\frac{\partial S_{k}}{\partial k} = 0}}} & (121) \\ {\mspace{85mu}{\frac{\partial S_{v_{0}}}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}\mu_{i}}} - {k{\sum\limits_{i = 1}^{n}{\mu_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}}} \right)}}} & (122) \\ {\frac{\partial S_{k}}{\partial k} = {{2v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} - {2k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}}}} & (123) \end{matrix}$

An expression for v₀ may be obtained by inserting function (122) into function (121), as in Equation (124):

$\begin{matrix} {v_{0} = {k\frac{\sum\limits_{i = 1}^{n}{\mu_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}{\sum\limits_{i = 1}^{n}\mu_{i}}}} & (124) \end{matrix}$

By using functions (121), (123) and (124) a relation that just is dependent on k is obtained, as in Equation (125):

$\begin{matrix} \left\{ \begin{matrix} {{v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} -} \\ {{k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} = 0} \\ {v_{0} = {k\frac{\sum\limits_{i = 1}^{n}{\mu_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}{\sum\limits_{i = 1}^{n}\mu_{i}}}} \end{matrix} \right. & (125) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k. A numerical method may be applied to find the root of this relation.

15. Example Minimum Velocity Method (v₀: Well TDR−Constant, k: Well TDR−Constant)

This method minimizes the error in velocity. By inserting function (68) and (57) into function (45) the summed squares of residuals can be written as in Equation (126):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0} - {k\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (126) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k that gives the minimum error in velocity, the minimum of function (126) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ and k equal to zero, as in Equation (127):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k} = 0}}} & (127) \\ {\frac{\partial S}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} - {k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}}} \right)}} & (128) \\ {\frac{\partial S}{\partial k_{i}} = {{2v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} - {2k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}}}} & (129) \end{matrix}$

An expression for v₀ is obtained by inserting function (128) into function (127), as in Equation (130):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} & (130) \end{matrix}$

By using functions (127), (129) and (130) a relation that just is dependent on k is obtained, as in Equation (131):

$\begin{matrix} \left\{ \begin{matrix} {{v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} -} \\ {{k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} = 0} \\ {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} \end{matrix} \right. & (131) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k. A numerical method can be applied to find the root of this relation.

16. Example Minimum Velocity Method (v₀: Correction−Constant, k: Well TDR−Surface)

This method minimizes the error in velocity. By inserting functions (68) and (69) into function (45) the summed squares of residuals can be written as in Equation (132):

$\begin{matrix} {{S_{v_{0}} = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {v_{0} - {k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}} \right)}^{2}}},{\delta_{i} = {\varphi_{i} - 1}},\mspace{14mu}{\varphi_{i} = {\mathbb{e}}^{k_{i}{({t_{B_{i}} - t_{c_{i}}})}}}} & (132) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M) as shown in Equation (133):

$\begin{matrix} {{S_{k}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0} - {k_{i}\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k_{i}{({t_{i,j} - t_{c_{i}}})}}}} & (133) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k₁, k₂, . . . , k_(n), that gives the minimum error in velocity, the minimum of function (132) and (133) is obtained. This is achieved by setting the partial derivative of S_(v) ₀ with respect to v₀ equal to zero and by setting the partial derivative of S_(k) with respect to k₁, k₂, . . . , k_(n) equal to zero, as in Equation (134):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S_{v_{0}}}{\partial v_{0}} = {\frac{\partial S_{k}}{\partial k_{1}} = {\frac{\partial S_{k}}{\partial k_{2}} = {\ldots = {\frac{\partial S_{k}}{\partial k_{n}} = 0}}}}}} & (134) \\ {\mspace{79mu}{\frac{\partial S_{v_{0}}}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}\mu_{i}}} - {\sum\limits_{i = 1}^{n}{\mu_{i}k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}} \right)}}} & (135) \\ {\frac{\partial S_{k}}{\partial k_{i}} = {{2v_{0}\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}} - {2\frac{k_{i}\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} & (136) \end{matrix}$

An expression for v₀ by is obtained by inserting function (135) into function (134), as in Equation (137):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\mu_{i}k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}{\sum\limits_{i = 1}^{n}\mu_{i}}} & (137) \end{matrix}$

By using functions (134), (136) and (137) a relation that just is dependent on k₁, k₂, . . . , k_(n) is obtained, as in Equation (138):

$\begin{matrix} \left\{ \begin{matrix} {{v_{0}\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}} -} \\ {{\frac{k_{i}\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}} = 0} \\ {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\mu_{i}k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}{\sum\limits_{i = 1}^{n}\mu_{i}}} \end{matrix} \right. & (138) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k₁, k₂, . . . , k_(n). A numerical method must be applied to find the roots of this relation.

17. Example Minimum Velocity Method (v₀: Well TDR−Constant, k: Well TDR−Surface)

This method minimizes the error in velocity. By inserting functions (68) and (57) into function (45) the summed squares of residuals can be written as in Equation (139):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0} - {k_{i}\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},\;{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k_{i}{({t_{i,j} - t_{c_{i}}})}}}} & (139) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ and k₁, k₂, k_(n) that gives the minimum error in velocity, the minimum of function (139) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ and k₁, k₂, . . . , k_(n) equal to zero, as in Equation (140):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = {\frac{\partial S}{\partial k_{1}} = {\frac{\partial S}{\partial k_{2}} = {\ldots = {\frac{\partial S}{\partial k_{n}} = 0}}}}} & (140) \end{matrix}$

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} - {\sum\limits_{i = 1}^{n}{\frac{k_{i}\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}} \right)}} & (141) \\ {\frac{\partial S}{\partial k_{i}} = {{2v_{0}\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}} - {2\frac{k_{i}\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} & (142) \end{matrix}$

An expression for v₀ may be obtained by inserting function (141) into function (140) to obtain Equation (143):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{k_{i}\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} & (143) \end{matrix}$

By using functions (140), (142) and (143) a relation that just is dependent on k₁, k₂, . . . , k_(n), is obtained, as in Equation (144):

$\begin{matrix} \left\{ \begin{matrix} {{v_{0}\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}} -} \\ {{\frac{k_{i}\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k_{i}\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}} = 0} \\ {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{k_{i}\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} \end{matrix} \right. & (144) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k₁, k₂, . . . , k_(n). A numerical method can be applied to find the roots of this relation.

18. Example Minimum Velocity Method (v₀: Correction−Surface, k: Well TDR−Constant)

This method minimizes the error in velocity. By inserting functions (68) and (57) into function (45) the summed squares of residuals can be written as in Equation (145):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0_{i}} - {k\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k_{i}{({t_{i,j} - t_{c_{i}}})}}}} & (145) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) and k that gives the minimum error in velocity, the minimum of function (145) is obtained. This may be achieved by setting the partial derivative of S with respect to k equal to zero as in Equation (146):

$\begin{matrix} {\frac{\partial S}{\partial k} = 0} & (146) \\ {\frac{\partial S}{\partial k} = {{2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}v_{0_{i}}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} - {2k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}}}} & (147) \end{matrix}$

In this method v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) is found by using function (68) with the known time at the base of the interval t=t₃ and the depth given by the correction object z=z_(M). This provides the following expression for v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) , in Equation (148):

$\begin{matrix} {{v_{0_{i}} = {k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}},\mspace{14mu}{\delta_{i} = {\varphi_{i} - 1}},\mspace{14mu}{\varphi_{i} = {\mathbb{e}}^{k_{i}{({t_{B_{i}} - t_{c_{i}}})}}}} & (148) \end{matrix}$

By using functions (146), (147) and (148) a relation is obtained that just is dependent of k, as shown in Equation (149):

$\begin{matrix} \left\{ \begin{matrix} {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}v_{0_{i}}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}} \\ {{k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} = 0} \\ {v_{0_{i}} = {k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}} \end{matrix} \right. & (149) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k. A numerical method can be applied to find the root of this relation.

19. Example Minimum Velocity Method (v₀: Well TDR−Surface, k: Well TDR−Constant)

This method minimizes the error in velocity. By inserting functions (68) and (57) into function (45) the summed squares of residuals can be written as in Equation (150):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0_{i}} - {k\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},\mspace{14mu}{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (150) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the combination of v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) and k that gives the minimum error in velocity, the minimum of function (150) is obtained. This can be achieved by setting the partial derivative of S with respect to v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) and k equal to zero, as in Equation (151):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial v_{0_{1}}} = {\frac{\partial S}{\partial v_{0_{2}}} = {\ldots = {\frac{\partial S}{\partial v_{0_{n}}} = {\frac{\partial S}{\partial k} = 0}}}}}} & (151) \\ {\mspace{79mu}{\frac{\partial S}{\partial v_{0_{i}}} = {2\frac{\mu_{i}}{m_{i}}\left( {{v_{0_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}} - {k{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}} \right)}}} & (152) \\ {\frac{\partial S}{\partial k} = {{2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}v_{0_{i}}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} - {2k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}}}} & (153) \end{matrix}$

An expression for v₀ ₁ , v₀ ₂ , . . . , v₀ _(n) is obtained by inserting function (152) into function (151), as in Equation (154):

$\begin{matrix} {v_{0_{i}} = {k\frac{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}} & (154) \end{matrix}$

By using functions (150), (153) and (154) a relation is obtained that just is dependent on k, as in Equation (155):

$\begin{matrix} \left\{ \begin{matrix} {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}v_{0_{i}}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}} \\ {{\underset{i = 1}{\overset{n}{k\sum}}\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}} = 0} \\ {v_{0_{i}} = {k\frac{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}} \end{matrix} \right. & (155) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k. But a numerical method can be applied to find the root of this relation.

20. Example Minimum Velocity Method (v₀: Given by user, k: Well TDR−Constant)

This method minimizes the error in velocity. By inserting functions (68) and (57) into function (45) the summed squares of residuals can be written as in Equation (156):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0_{i}} - {k\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (156) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the k that gives the minimum error in velocity, the minimum of function (156) is obtained. This is achieved by setting the partial derivative of S with respect to k equal to zero, as in Equation (157):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial k} = 0}} & (157) \\ {\frac{\partial S}{\partial k} = {{2{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}v_{0_{i}}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}} - {2k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}}}} & (158) \end{matrix}$

By using functions (157) and (158) a relation that just is dependent on k is obtained, as in Equation (159):

$\begin{matrix} {{{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}v_{0_{i}}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}} - {k{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( \frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)^{2}\left( {\beta_{i,j} - {k\left( {t_{i,j} - t_{c_{i}}} \right)}} \right)}{\beta_{i,j}^{2}} \right)}}}}}} = 0} & (159) \end{matrix}$

The transcendental nature of this relation prevents the isolation of k. A numerical method may be applied to find the root of this relation.

21. Example Minimum Velocity Method (v₀: Correction−Constant, k: Given by user)

This method minimizes the error in velocity. By inserting functions (68) and (69) into function (45) the summed squares of residuals can be written as in Equation (160):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\mu_{i}\left( {v_{0} - {k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}} \right)}^{2}}},{\delta_{i} = {\varphi_{i} - 1}},{\varphi_{i} = {\mathbb{e}}^{k_{i}{({t_{B_{i}} - t_{c_{i}}})}}}} & (160) \end{matrix}$ where the known time at the base of the interval is t=t_(B) and the depth given by the correction object is z=z_(M). To find the v₀, that gives the minimum error in velocity, the minimum of function (160) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (161):

$\begin{matrix} {\frac{\partial S}{\partial v_{0}} = 0} & (161) \\ {\frac{\partial S}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}\mu_{i}}} - {\sum\limits_{i = 1}^{n}{\mu_{i}k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}} \right)}} & (162) \end{matrix}$

An expression for v₀, may be obtained by inserting function (162) into function (161), as in Equation (163):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\mu_{i}k_{i}\frac{z_{M_{i}} - {z_{c_{i}}\varphi_{i}}}{\delta_{i}}}}{\sum\limits_{i = 1}^{n}\mu_{i}}} & (163) \end{matrix}$

The resulting v₀ provides the minimum error in velocity.

22. Example Minimum Velocity Method (v_(n): Well TDR−Constant, k: Given by User)

This method minimizes the error in velocity. By inserting functions (68) and (57) into function (45) the summed squares of residuals can be written as in Equation (164):

$\begin{matrix} {{S = {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\left( {v_{0} - {k_{i}\frac{z_{i,j} - {z_{c_{i}}\alpha_{i,j}}}{\beta_{i,j}}}} \right)}^{2}}}}},{\beta_{i,j} = {\alpha_{i,j} - 1}},{\alpha_{i,j} = {\mathbb{e}}^{k{({t_{i,j} - t_{c_{i}}})}}}} & (164) \end{matrix}$ where t_(i,j) and z_(i,j) are the input data in time and depth. To find the v₀ that gives the minimum error in velocity, the minimum of function (164) is obtained. This is achieved by setting the partial derivative of S with respect to v₀ equal to zero, as in Equation (165):

$\begin{matrix} {\mspace{79mu}{\frac{\partial S}{\partial v_{0}} = 0}} & (165) \\ {\frac{\partial S}{\partial v_{0}} = {2\left( {{v_{0}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} - {\sum\limits_{i = 1}^{n}{\frac{\mu_{i}k_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}} \right)}} & (166) \end{matrix}$

An expression for v₀ can be obtained by inserting function (166) into function (165), as shown in Equation (167):

$\begin{matrix} {v_{0} = \frac{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}k_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}{\omega_{i,j}\frac{\left( {z_{i,j} - {z_{c_{i}}\alpha_{i,j}}} \right)}{\beta_{i,j}}}}}}{\sum\limits_{i = 1}^{n}{\frac{\mu_{i}}{m_{i}}{\sum\limits_{j = 1}^{m_{i}}\omega_{i,j}}}}} & (167) \end{matrix}$

Example Method for a Set of Wells

FIG. 17 shows an example method of reducing the influence of outlier wells on a velocity model for a set of wells. In the flow diagram, the operations are summarized in individual blocks. The example method 1700 may be performed by hardware or combinations of hardware and software, for example, by the example velocity modeler 202.

At block 1702, data is received from multiple wells.

At block 1704, a time-depth relationship (TDR) is applied to the data, for estimating at least one coefficient in a velocity function to fit the data.

At block 1706, a weight is assigned to the data from each well in relation to the distance of the data from the velocity function being fit to the data.

At block 1708, the influence of the data from one or more outlier wells is reduced so that the outlier data does not negatively influence the process of estimating the coefficient(s) in the velocity function.

The velocity function used to fit or describe the data may be an interval velocity function, a linear velocity in depth function or a linear velocity in time function. Applying the time-depth relationship (TDR) may include employing a minimum depth method or a minimum velocity method as part of estimating the coefficients for the velocity function.

CONCLUSION

Although exemplary systems and methods have been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as exemplary forms of implementing the claimed systems, methods, and structures.

APPENDIX A

The analytic linear velocity in time function can written as v=v ₀ +kt  (168)

where v₀ is the instantaneous velocity at the datum and k is the rate of increase of velocity. The instantaneous velocity can be written as a function of time and depth.

$\begin{matrix} {v = \frac{\mathbb{d}z}{\mathbb{d}t}} & (169) \end{matrix}$

By inserting function (168) into function (169), Equation (170) is obtained:

$\begin{matrix} {\frac{\mathbb{d}z}{\mathbb{d}t} = {v_{0} + {kt}}} & (170) \end{matrix}$

This differential equation can be solved by using integration ∫dz=∫(v ₀ +kt)dt  (171)

The solution of the integrals is

$\begin{matrix} {z = {{v_{0}t} + {\frac{1}{2}{kt}^{2}} + c}} & (172) \end{matrix}$ where c is an unknown constant. The constant can be found by inserting a boundary condition. It is common to set the boundary values equal to the time and depth at the top of the layer (=t_(T) and z_(c)=z_(T)). By doing that, Equation (173) is obtained:

$\begin{matrix} {c = {z_{c} - {v_{0}t_{c}} - {\frac{1}{2}{kt}_{c}^{2}}}} & (173) \end{matrix}$

By inserting function (173) into function (172) it can be shown that the depth z can be expressed as a function of time t

$\begin{matrix} {z = {z_{c} + {v_{0}\left( {t - t_{c}} \right)} + {\frac{1}{2}{k\left( {t^{2} - t_{c}^{2}} \right)}}}} & (174) \end{matrix}$ where t_(c) and z, are the time and depth boundary values. It is common to set the boundary values equal to time and depth at the top of the layer (t_(c)=t_(T) and z_(c)=z_(T)).

APPENDIX B

The bi-square weights method is a well-known technique that minimizes a weighted sum of squares. The method follows the following procedure:

Step 1: Fit the model by using the weights, shown in Equation (175): ω=ω^(user)ω^(robust)  (175)

Step 2: Compute the adjusted residuals and standardize them.

The adjusted residuals are given In Equation (176):

$\begin{matrix} {r_{j}^{adj} = \frac{r_{j}}{\sqrt{1 - h_{j}}}} & (176) \end{matrix}$ where r_(j) are the residuals, and h_(j) are leverages that adjust the residual by down-weighting high-leverage data points, which have a large effect on the fit, as in Equation (177):

$\begin{matrix} {h_{j} = {\frac{1}{m} + \frac{\left( {t_{j} - \overset{\_}{t}} \right)^{2}}{\sum\limits_{i = 1}^{m}\;\left( {t_{i} - \overset{\_}{t}} \right)^{2}}}} & (177) \end{matrix}$

The standardized adjusted residuals are given in Equation (178):

$\begin{matrix} {u_{j} = \frac{r_{j}^{adj}}{Ks}} & (178) \end{matrix}$ K is a tuning constant equal to 4.685, and s is the robust variance given by MAD/0.6745 where MAD is the median absolute deviation of the residuals.

Step 3: Compute the robust weights as a function of u.

The bi-square weights are given in Equation (179):

$\begin{matrix} {\omega_{j}^{robust} = \left\{ \begin{matrix} {\left( {1 - u_{j}^{2}} \right)^{2},} & {{u_{j}} < 1} \\ {0,} & {{u_{j}} \geq 1} \end{matrix} \right.} & (179) \end{matrix}$

Step 4: Check the convergence.

If the fit converges, then the method is finished. Otherwise, perform the next iteration of the fitting procedure by returning to the first step.

APPENDIX C

One instantaneous velocity function is the interval velocity v=v ₀  (180) where v₀ is the instantaneous velocity at the datum. The instantaneous velocity can be written as a function of time and depth.

$\begin{matrix} {v = \frac{\mathbb{d}z}{\mathbb{d}t}} & (181) \end{matrix}$

-   -   Inserting function (180) into function (181) yields:

$\begin{matrix} {\frac{\mathbb{d}z}{\mathbb{d}t} = v_{0}} & (182) \end{matrix}$

This differential equation can be solved by using integration

$\begin{matrix} {{\int{\frac{1}{v_{0}}{\mathbb{d}z}}} = {\int_{\;}^{\;}{\mathbb{d}t}}} & (183) \end{matrix}$ The solution of the integrals is z=v ₀(t+c)  (184) where c is an unknown constant. The constant can be found by inserting a boundary condition. It is common to set the boundary values equal to the time and depth at the top of the layer (t_(c)=t_(T) and z_(c)=z_(T)). This results in

$\begin{matrix} {c = {\frac{z_{c}}{v_{0}} - t_{c}}} & (185) \end{matrix}$

By inserting function (185) into function (184) the depth z can be expressed as a function of time t z=z _(c) +v ₀(t−t _(c))  (186) where t_(c) and z_(c) are the time and depth boundary values. It is common to set the boundary values equal to the time and depth at the top of the layer (t_(c)=t_(T) and z_(c)=z_(T)).

APPENDIX D

One possible analytic instantaneous velocity function is the linear velocity v=v ₀ +kz  (187) where v₀ is the instantaneous velocity at the datum and k is the rate of increase of velocity. The instantaneous velocity can be written as a function of time and depth.

$\begin{matrix} {v = \frac{\mathbb{d}z}{\mathbb{d}t}} & (188) \end{matrix}$

Inserting function (187) into function (188) yields:

$\begin{matrix} {\frac{\mathbb{d}z}{\mathbb{d}t} = {v_{0} + {kz}}} & (189) \end{matrix}$

This differential equation can be solved by using integration

$\begin{matrix} {{\int{\left( \frac{1}{v_{0} + {kz}} \right){\mathbb{d}z}}} = {\int_{\;}^{\;}{\mathbb{d}t}}} & (190) \end{matrix}$

The solution of the integrals is

$\begin{matrix} {z = {\frac{1}{k}\left( {{\mathbb{e}}^{k{({t + c})}} - v_{0}} \right)}} & (191) \end{matrix}$ where c is an unknown constant. The constant can be found by inserting a boundary condition. The boundary values can be set equal to the time and depth at the top of the layer (t_(c)=t_(T) and z_(c)=z_(T)). This results in

$\begin{matrix} {c = {{\frac{1}{k}{\ln\left( {v_{0} + {kz}_{c}} \right)}} - t_{c}}} & (192) \end{matrix}$

Inserting function (192) into function (191) yields:

$\begin{matrix} {z = {{\frac{v_{0}}{k}\left( {{\mathbb{e}}^{k{({t - t_{c}})}} - 1} \right)} + {z_{c}{\mathbb{e}}^{k{({t - t_{c}})}}}}} & (193) \end{matrix}$ where t_(c) and z, are the time and depth boundary values. It is common to set the boundary values equal to the time and depth at the top of the layer (t_(c)=t_(T) and z_(c)=z_(T)). 

The invention claimed is:
 1. A non-transitory computer-readable storage medium, containing instructions, which when executed by a computer perform a process, comprising: receiving data from multiple wells; applying a time-depth relationship (TDR) to the data, for estimating unknown coefficients in a velocity function to fit the data; and reducing an influence of outlier data from at least one outlier well on estimating the unknown coefficients by introducing weights of a robust iteratively re-weighted least squares algorithm to weight data of each of the multiple wells.
 2. The non-transitory computer-readable storage medium of claim 1, wherein the robust iteratively re-weighted least squares algorithm comprises a bi-square method to minimize a weighted sum of squares, in which the weights given to the data are related to distances between the data and the linear-velocity-in-time function being fit to the data.
 3. The non-transitory computer-readable storage medium of claim 2, wherein the weights decrease with respect to increasing distance.
 4. The non-transitory computer-readable storage medium of claim 1, wherein the velocity function to fit the data comprises an interval velocity function.
 5. The non-transitory computer-readable storage medium of claim 1, wherein the velocity function to fit the data comprises one of a linear velocity in depth function or a linear velocity in time function.
 6. The non-transitory computer-readable storage medium of claim 1, wherein coefficient estimation for the analytic velocity function is achieved by one of a minimum depth method or a minimum velocity method.
 7. The non-transitory computer-readable storage medium of claim 1, containing instructions, which when executed by a computer perform a process comprising applying the robust iteratively re-weighted least squares algorithm for re-weighting the weights.
 8. The non-transitory computer-readable storage medium of claim 1, wherein the weights weight residuals of the multiple wells.
 9. The non-transitory computer-readable storage medium of claim 8, wherein the residual comprise depth residuals.
 10. The non-transitory computer-readable storage medium of claim 8, wherein the residual comprise velocity residuals.
 11. The non-transitory computer-readable storage medium of claim 8, containing instructions, which when executed by a computer perform a process comprising minimizing a sum of squares of iteratively re-weighted residuals.
 12. The non-transitory computer-readable storage medium of claim 11 wherein the minimizing comprises applying a bi-square method to minimize the sum of squares of the iteratively re-weighted residuals.
 13. The non-transitory computer-readable storage medium of claim 12 wherein the minimizing acts to reduce the influence of the outlier data from at least one outlier well by iteratively re-weighting the residual for that at least one outlier well.
 14. The non-transitory computer-readable storage medium of claim 1, containing instructions, which when executed by a computer perform setting a partial derivative of a summed squares of weighted residuals with respect to instantaneous velocity (v₀) equal to zero, wherein each of the weighted residuals corresponds to a respective one of the multiple wells.
 15. The non-transitory computer-readable storage medium of claim 14, containing instructions, which when executed by a computer perform optimizing the time-depth relationship for estimating the unknown coefficients based at least in part on setting the partial derivative equal to zero.
 16. The non-transitory computer-readable storage medium of claim 15 wherein the velocity function comprises a linear-velocity-in-depth function and the optimizing provides for the instantaneous velocity (v₀) of the linear-velocity-in-depth function.
 17. The non-transitory computer-readable storage medium of claim 1 wherein the velocity function comprises a linear-velocity-in-depth function v=v₀+kz, where v₀ comprises an instantaneous velocity and k comprises a rate of increase of velocity or a compaction factor.
 18. The non-transitory computer-readable storage medium of claim 1, containing instructions, which when executed by a computer perform applying a bi-square method to minimize a weighted sum of squares of residuals, wherein each residual is associated with a respective one of the multiple wells and wherein the bi-square method comprises a tuning constant (K) and a parameter (s), which is the robust variance dependent on the median absolute deviation of the residuals.
 19. The non-transitory computer-readable storage medium of claim 1, containing instructions, which when executed by a computer perform an assessment of a reservoir using the velocity function.
 20. A non-transitory computer-readable storage medium, containing instructions, which when executed by a computer perform a process, comprising: receiving data from multiple wells; applying a time-depth relationship (TDR) to the data, for estimating unknown coefficients in a velocity function to fit the data; and reducing an influence of outlier data from at least one outlier well on estimating the unknown coefficients, wherein reducing the influence of the outlier data from at least one outlier well further includes assigning a data weight to the data from each well, including applying a bi-square method to minimize a weighted sum of squares, in which a weight given to the data from a well is related to how far the data of the well is from the linear-velocity-in-time function being fit to the data. 